package com.wctj.api.infra.huifu.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

public class AccountInfo {

    @JsonProperty("card_id")
    private String cardId; // 银行卡号

    @JsonProperty("card_name")
    private String cardName; // 银行卡对应的户名

    @JsonProperty("cert_id")
    private String certId; // 证件号，银行账户类型为对私时，必填

    @JsonProperty("cert_type")
    private String certType; // 证件类型，仅支持：00-身份证，银行账户类型为对私时，必填

    @JsonProperty("tel_no")
    private String telNo; // 手机号

    @JsonProperty("bank_code")
    private String bankCode; // 银行编码，银行账户类型对公时，必填

    @JsonProperty("bank_name")
    private String bankName; // 开户银行名称

    @JsonProperty("bank_acct_type")
    private String bankAcctType; // 银行账户类型：1-对公；2-对私

    @JsonProperty("prov_code")
    private String provCode; // 银行账户开户银行所在省份编码（省市编码），银行账户类型为对公时，必填

    @JsonProperty("area_code")
    private String areaCode; // 银行账户开户银行所在地区编码（省市编码），银行账户类型为对公时，必填

    @Override
    public String toString() {
        return "AccountInfo{" +
                "cardId='" + cardId + '\'' +
                ", cardName='" + cardName + '\'' +
                ", certId='" + certId + '\'' +
                ", certType='" + certType + '\'' +
                ", telNo='" + telNo + '\'' +
                ", bankCode='" + bankCode + '\'' +
                ", bankName='" + bankName + '\'' +
                ", bankAcctType='" + bankAcctType + '\'' +
                ", provCode='" + provCode + '\'' +
                ", areaCode='" + areaCode + '\'' +
                '}';
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public String getCertId() {
        return certId;
    }

    public void setCertId(String certId) {
        this.certId = certId;
    }

    public String getCertType() {
        return certType;
    }

    public void setCertType(String certType) {
        this.certType = certType;
    }

    public String getTelNo() {
        return telNo;
    }

    public void setTelNo(String telNo) {
        this.telNo = telNo;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankAcctType() {
        return bankAcctType;
    }

    public void setBankAcctType(String bankAcctType) {
        this.bankAcctType = bankAcctType;
    }

    public String getProvCode() {
        return provCode;
    }

    public void setProvCode(String provCode) {
        this.provCode = provCode;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }
}
